You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > MatrixInt Structure > MatrixInt Methods > MaxMin Method > MatrixInt.MaxMin Method (out int, out int, [In] int, [In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
MatrixInt.MaxMin Method (out int, out int, [In] int, [In] int)

Calculate minimum and maximum in one procedure call.

Syntax
C#
Visual Basic
public void MaxMin(out int aMax, out int aMin, [In] int Index, [In] int Len);
Parameters 
Description 
out int aMax 
Returns calling vector elements [Index..Index+Len-1] maximum value. 
out int aMin 
Returns calling vector elements [Index..Index+Len-1] minimum value. 
[In] int Index 
The starting index at which to start the search. 
[In] int Len 
The number of elements to search starting from Index. 

An exception is raised if array borders are overrun/underrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!